﻿using System.Collections.Generic;

namespace Sparklings.LevelElements
{
    public interface IActivable
    {
        /// <summary>
        /// Is called when the tile is activated, ie clicked onto by the player,
        /// or activated via a button. Should perform the action.
        /// 
        /// The action may not be performed, for example if the spawner has no more
        /// sparklings, it will not spawn another one.
        /// </summary>
        /// <returns>true if the action was performed.</returns>
        bool Activate();
        bool IsPlayerActivable { get; set; }
        List<int> ActivatingInterruptors { get; set; }
    }
}
